package com.sky.admin.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 班级信息
 *
 * @author pig
 * @date 2024-03-25 14:05:17
 */
@Data
@TableName("read_club_class_room")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "班级信息")
public class ReadClubClassRoomEntity extends BaseEntity<ReadClubClassRoomEntity> {


	/**
	 * 主键
	 */
	@TableId(type = IdType.AUTO)
	@Schema(description = "主键")
	private Integer id;

	/**
	 * 班级名称
	 */
	@Schema(description = "班级名称")
	private String className;

	/**
	 * 班级描述
	 */
	@Schema(description = "班级描述")
	private String classComment;

	@Schema(description = "备注")
	private String remarks;

	@Schema(description = "最新一次上课id - 更新插入不处理")
	private Integer lastCourseId;

	@Schema(description = "最新一次上课时间 - 更新插入不处理")
	private Long lastCourseTime;

	@Schema(description = "最新一次上课中文名称 - 更新插入不处理")
	@TableField(exist = false)
	private String lastCourseNameCn;

	@Schema(description = "最新一次上课英文名称 - 更新插入不处理")
	@TableField(exist = false)
	private String lastCourseNameEn;

	@Schema(description = "学生数量")
	@TableField(exist = false)
	private Integer studentCount;
}